Cleantalk\Antispam\Integrations\CleantalkPreprocessComment B

Total Complexity 92
Dependencies 6
Dependents 0
Total lines 524
Lines of code 346
Logical lines of code 164
Comment lines 95
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
collectBaseCallData()
B
37 20 68
allow()
A
41 13 60
doSkipReason()
A
49 11 28
doBlock()
A
45 10 39
rerunWPcheckCommentFunction()
A
55 8 19
getEmailAddressesListToNotify()
S
53 6 23
doPrepareActions()
S
51 5 26
setCommentPreStatusAndModifyEmail()
S
58 4 16
doFinalActions()
S
54 3 23
checkMaxCommentsPublishedByUser()
S
59 3 14
doActionsBeforeBaseCall()
S
67 3 7
doNeedSetMeta()
S
63 3 10
getDataForChecking()
S
82 1 3
doActionsBeforeAllowDeny()
S
80 1 3
removeLinksFromComment()
S
70 1 7